<?php
namespace App\Helpers;

use App\Helpers\Createpeople;

class Factoryman extends Base implements Createpeople
{
    public function __construct(){
    	//parent::__construct();
    	echo $this->name;
    }
    public $name="999";
	function createObj(){
		echo $this->getname();
		return new \App\Helpers\Man();
	}
	public function getname($name='weiyp',$id='2222'){
        echo  "name:".$name." id:".$id;
	}
}
